﻿namespace 异步委托
{
    internal class Program
    {
        static void Main(string[] args)
        {
            ThreadPool.QueueUserWorkItem(async (obj) =>
            {
                while (true)
                {
                    await Task.Delay(1000);
                    Console.WriteLine("End!");
                }
            });
            Console.ReadLine();
        }
    }
}
